package com.sxg.service.impl;

import com.alibaba.fastjson2.JSON;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxg.convert.SxgUserConvert;
import com.sxg.dao.SxgDouAreaDao;
import com.sxg.dao.SxgUserDao;
import com.sxg.entity.SxgDouAreaEntity;
import com.sxg.entity.SxgUserEntity;
import com.sxg.page.PageResult;
import com.sxg.query.SxgUserQuery;
import com.sxg.security.pojo.LoginUser;
import com.sxg.security.service.TokenService;
import com.sxg.service.SxgDouAreaService;
import com.sxg.service.SxgFileService;
import com.sxg.service.SxgUserService;
import com.sxg.utils.SecurityUtils;
import com.sxg.utils.StringUtils;
import com.sxg.utils.code.AjaxResult;
import com.sxg.vo.SxgUserVO;
import com.sxg.vo.resp.ModifyPasswordReqVo;
import lombok.AllArgsConstructor;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.TimeUnit;

/**
 * 用户表
 *
 * @author 浪漫写尽歌谱 3298751420@qq.com
 * @since 1.0.0 2024-03-07
 */
@Service
@AllArgsConstructor
public class SxgDouAreaServiceImpl extends ServiceImpl<SxgDouAreaDao, SxgDouAreaEntity> implements SxgDouAreaService {

    public List<SxgDouAreaEntity> queryAll() {
        return getBaseMapper().selectList(new QueryWrapper<>());
    }

}